package com.learn.core.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;

/**
 * @auther CodeGenerator
 * @create 2021-03-13 19:39:45
 * @describe 课件分类表实体类
 */
@TableName("l_courseware_type")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LCoursewareType对象", description="课件分类表")
public class LCoursewareType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "courseware_type_id", type = IdType.AUTO)
    private Integer coursewareTypeId;

        @ApiModelProperty(value = "课件名称")
        @TableField("courseware_type_name")
    private String coursewareTypeName;

        @ApiModelProperty(value = "课件编码")
        @TableField("courseware_type_code")
    private String coursewareTypeCode;

        @ApiModelProperty(value = "状态")
        @TableField("stutes")
    private String stutes;

        @ApiModelProperty(value = "描述")
        @TableField("description")
    private String description;

        @ApiModelProperty(value = "父节点id")
        @TableField("parent_node")
    private Integer parentNode;

    @TableField("create_time")
    private Date createTime;

    @TableField("create_user")
    private String createUser;

    @TableField("update_time")
    private Date updateTime;

    @TableField("update_user")
    private String updateUser;

    @TableField(exist = false)
    private List<LCoursewareType> chilCoursewareType;

    public List<LCoursewareType> getChilCoursewareType() {
        return chilCoursewareType;
    }

    public void setChilCoursewareType(List<LCoursewareType> chilCoursewareType) {
        this.chilCoursewareType = chilCoursewareType;
    }

    public Integer getCoursewareTypeId() {
        return coursewareTypeId;
    }

    public LCoursewareType setCoursewareTypeId(Integer coursewareTypeId) {
        this.coursewareTypeId = coursewareTypeId;
        return this;
    }

    public String getCoursewareTypeName() {
        return coursewareTypeName;
    }

    public LCoursewareType setCoursewareTypeName(String coursewareTypeName) {
        this.coursewareTypeName = coursewareTypeName;
        return this;
    }

    public String getCoursewareTypeCode() {
        return coursewareTypeCode;
    }

    public LCoursewareType setCoursewareTypeCode(String coursewareTypeCode) {
        this.coursewareTypeCode = coursewareTypeCode;
        return this;
    }

    public String getStutes() {
        return stutes;
    }

    public LCoursewareType setStutes(String stutes) {
        this.stutes = stutes;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public LCoursewareType setDescription(String description) {
        this.description = description;
        return this;
    }

    public Integer getParentNode() {
        return parentNode;
    }

    public LCoursewareType setParentNode(Integer parentNode) {
        this.parentNode = parentNode;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public LCoursewareType setCreateTime(Date createTime) {
        this.createTime = createTime;
        return this;
    }

    public String getCreateUser() {
        return createUser;
    }

    public LCoursewareType setCreateUser(String createUser) {
        this.createUser = createUser;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public LCoursewareType setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public LCoursewareType setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
        return this;
    }

    @Override
    public String toString() {
        return "LCoursewareType{" +
        "coursewareTypeId=" + coursewareTypeId +
        ", coursewareTypeName=" + coursewareTypeName +
        ", coursewareTypeCode=" + coursewareTypeCode +
        ", stutes=" + stutes +
        ", description=" + description +
        ", parentNode=" + parentNode +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}